﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AppSpace/Dashboard.Master" AutoEventWireup="true"
    CodeBehind="Sprints.aspx.cs" Inherits="SmartProject.AppSpace.Sprints" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <script type="text/javascript" language="javascript">
        function calendarShown(sender, args) {
            sender._popupBehavior._element.style.zIndex = 10005;
        } 

    </script>

    <cc1:ModalPopupExtender ID="PopSprint" runat="server" BackgroundCssClass="modelBackground"
        TargetControlID="BtnNew" CancelControlID="BtnCancel" PopupControlID="PnlSprint">
    </cc1:ModalPopupExtender>
    <div id="PnlSprint" runat="server" style="display: none; background-color: #EEE">
        <table cellpadding="0" cellspacing="1" width="300px">
            <tr>
                <td style="color: #EFEFEF; font-weight: bold; font-size: 12px; background-color: #69c;
                    text-align: left;" colspan="2">
                    <asp:Label ID="LblSprintDesc" runat="server" Text="New Sprint Cycle"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="LblSprintError" runat="server" SkinID="ErrorLabel"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Description:
                </td>
                <td>
                    <asp:TextBox ID="TxtSprintDescription" runat="server" SkinID="StandardTextBox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Start:
                </td>
                <td>
                    <asp:TextBox ID="TxtSprintStart" runat="server" SkinID="StandardTextBox"></asp:TextBox><cc1:CalendarExtender
                        ID="CalStart" runat="server" TargetControlID="TxtSprintStart" OnClientShown="calendarShown">
                    </cc1:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Est day(s):
                </td>
                <td>
                    <asp:TextBox ID="TxtSprintEstDays" runat="server" SkinID="StandardTextBox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <asp:ImageButton ID="BtnSaveSprint" runat="server" ImageUrl="~/Image/WorkSave.png"
                        ToolTip="Save" OnClick="BtnSave_Click" />&nbsp;&nbsp;
                    <asp:ImageButton ID="BtnCancel" runat="server" ImageUrl="~/Image/WorkCancel2.png"
                        ToolTip="Cancel" />
                </td>
            </tr>
        </table>
    </div>
    <table>
        <tr>
            <td valign="bottom">
                <asp:DropDownList ID="DrpSprints" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DrpSprints_SelectedIndexChanged">
                </asp:DropDownList>
                &nbsp;&nbsp;
                <asp:ImageButton ID="BtnEdit" runat="server" ImageUrl="~/Image/Edit.png" ToolTip="Edit"
                    OnClick="BtnEdit_Click" />
                &nbsp;&nbsp;
                <asp:ImageButton ID="BtnRemove" runat="server" ImageUrl="~/Image/Remove.png" ToolTip="Remove"
                    OnClick="BtnRemove_Click" />
                &nbsp;&nbsp;
                <asp:ImageButton ID="BtnNew" runat="server" ImageUrl="~/Image/New.png" ToolTip="New" />
            </td>
        </tr>
        <tr>
            <td align="left" style="color: Green; font-size: 10px; font-weight: bold">
                <asp:Label ID="LblHours" runat="server" Text="Hours"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Image ID="ImgBurndownChart" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right" style="color: Green; font-size: 10px; font-weight: bold">
                <asp:Label ID="LblDays" runat="server" Text="Days"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
